package com.whut.monitor.rmi.bo;

import java.io.Serializable;
import java.util.List;

/**
 * Created by qing on 2017/3/22.
 * 用户信息，由于要实现远程调用必须实现Serializable接口
 */
public class UserAccessBo implements Serializable{
    private boolean success=false;//用户是否存在
    private String msg = "";//返回给前台提示信息
    private long userId;
    private String loginName; // 登录
    private String name; // 姓名
    private String roleIds;
    private String roleNames;
    private long tenantId;//租户ID
    private String tenantName;//租户名称
    private List<String> resourceList;// 用户可以访问的资源地址列表

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(String roleIds) {
        this.roleIds = roleIds;
    }

    public String getRoleNames() {
        return roleNames;
    }

    public void setRoleNames(String roleNames) {
        this.roleNames = roleNames;
    }

    public long getTenantId() {
        return tenantId;
    }

    public void setTenantId(long tenantId) {
        this.tenantId = tenantId;
    }

    public String getTenantName() {
        return tenantName;
    }

    public void setTenantName(String tenantName) {
        this.tenantName = tenantName;
    }

    public List<String> getResourceList() {
        return resourceList;
    }

    public void setResourceList(List<String> resourceList) {
        this.resourceList = resourceList;
    }
}
